<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>客户编号</th>
            <th>客户姓名</th>
            <th>电话号码</th>
            <th>联系地址</th>
            <th>购买意向</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$vo.serial_no}</td>
            <td>{$vo.name}</td>
            <td>{$vo.telphone}</td>
            <td>{$vo.address}</td>
            <td>{$vo.interested|sofn_get_state_text='customer-buy-interested',###}</td>
            <td>{$vo.create_time}</td>
            <td>
                <ul class="xsui-operate-group">
                    <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                        <ul>
                            <li><a href="{:AddonU('Customer/customer_edit','id='.$vo['id'])}" class="lnk-edit" data-id="{$vo.id}" title="编辑 {$vo.name}"><i class="fa fa-edit fa-fw"></i>编辑</a></li>
                            <li><a href="{:AddonU('Customer/customer_delete','id='.$vo['id'])}" class="lnk-remove" data-id="{$vo.id}" title="删除 {$vo.name}"><i class="fa fa-remove fa-fw"></i>回收站</a></li>
                            <li><a href="{:AddonU('CustomerAppointment/appointment_edit','customer_id='.$vo['id'])}" class="lnk-edit-dialog" data-id="{$vo.id}" title="预约 {$vo.name}"><i class="fa fa-edit fa-fw"></i>预约</a></li>
                            <li><a href="{:AddonU('CustomerDispatch/dispatch_edit','customer_id='.$vo['id'])}" class="lnk-edit-dialog" data-id="{$vo.id}" title="调度 {$vo.name}"><i class="fa fa-edit fa-fw"></i>调度</a></li>
                        </ul>
                    </li>
                </ul>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>